package com.andy.blog.admin.service;

import com.andy.blog.dal.domain.SysCache;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Created by andy on 2023/5/13 14:44
 */
public interface CacheBusService {

    /**
     * 缓存监控信息
     */
    Map<String, Object> getInfo();

    /**
     *
     */
    List<SysCache> cache();

    /**
     *
     */
    Set<String> getCacheKeys(String cacheName);

    /**
     *
     */
    SysCache getCacheValue(String cacheName, String cacheKey);

    /**
     *
     */
    void clearCacheName(String cacheName);

    /**
     *
     */
    void clearCacheKey(String cacheKey);

    /**
     *
     */
    void clearCacheAll();

}
